﻿#pragma once


// CWitsCfgDlg 对话框

class CWitsCfgDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CWitsCfgDlg)

public:
	CWitsCfgDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CWitsCfgDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_WITSCFGDLG };
#endif
	CString m_strOut[9];
	CString m_strIn[5];
	CString m_strOutIP;
	CString m_strInIP;
	int		m_nOutPort;
	int		m_nInPort;
	
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	CComboBox m_cmbOut;
	CComboBox m_cmbIn;
	afx_msg void OnBnClickedOk();
	virtual BOOL OnInitDialog();
	afx_msg void OnCbnSelchangeCombo1();
	afx_msg void OnCbnSelchangeCombo2();
};
